package com.zmx.patientend.view.activity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

import com.zmx.patientend.BaseActivity;
import com.zmx.patientend.R;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class LiveDetailsActivity extends BaseActivity {

    @BindView(R.id.button)
    Button button;
    @BindView(R.id.textview)
    TextView textview;

    @Override
    protected int getLayoutId() {
        return R.layout.activity_live_details;
    }

    @Override
    protected void initViews() {

        setToolbar(R.id.tool_bar);

    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        // TODO: add setContentView(...) invocation
        ButterKnife.bind(this);
    }

    @OnClick({R.id.button, R.id.textview})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.button:

                Intent intent = new Intent();
                intent.setClass(mActivity, AllDoctorActivity.class);
                startActivity(intent);

                break;
            case R.id.textview:
                Toast("没有历史直播");
                break;
        }
    }
}
